package com.tjzx.entity;

import java.sql.Timestamp;

/**
 * PeisPatientVoteId entity. @author MyEclipse Persistence Tools
 */

public class PeisPatientVoteId implements java.io.Serializable {

	// Fields

	private Integer id;
	private String t1;
	private String t2;
	private String t3;
	private String t4;
	private String t501;
	private String t502;
	private String t51;
	private String t52;
	private String t6;
	private String t7;
	private String t71;
	private String t72;
	private String t73;
	private String t74;
	private String t8;
	private String t9;
	private String t10;
	private String t11;
	private String t12;
	private String t131;
	private String t132;
	private String t133;
	private String t134;
	private String t135;
	private String t136;
	private String t141;
	private String t142;
	private String t143;
	private String t144;
	private String t145;
	private String t15;
	private String t16;
	private String t171;
	private String t172;
	private String t173;
	private String t18;
	private String t19;
	private String t20;
	private String t21;
	private String t22;
	private String t23;
	private String t24;
	private String t25;
	private Timestamp recodertime;
	private String loginname;

	// Constructors

	/** default constructor */
	public PeisPatientVoteId() {
	}

	/** minimal constructor */
	public PeisPatientVoteId(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public PeisPatientVoteId(Integer id, String t1, String t2, String t3,
			String t4, String t501, String t502, String t51, String t52,
			String t6, String t7, String t71, String t72, String t73,
			String t74, String t8, String t9, String t10, String t11,
			String t12, String t131, String t132, String t133, String t134,
			String t135, String t136, String t141, String t142, String t143,
			String t144, String t145, String t15, String t16, String t171,
			String t172, String t173, String t18, String t19, String t20,
			String t21, String t22, String t23, String t24, String t25,
			Timestamp recodertime, String loginname) {
		this.id = id;
		this.t1 = t1;
		this.t2 = t2;
		this.t3 = t3;
		this.t4 = t4;
		this.t501 = t501;
		this.t502 = t502;
		this.t51 = t51;
		this.t52 = t52;
		this.t6 = t6;
		this.t7 = t7;
		this.t71 = t71;
		this.t72 = t72;
		this.t73 = t73;
		this.t74 = t74;
		this.t8 = t8;
		this.t9 = t9;
		this.t10 = t10;
		this.t11 = t11;
		this.t12 = t12;
		this.t131 = t131;
		this.t132 = t132;
		this.t133 = t133;
		this.t134 = t134;
		this.t135 = t135;
		this.t136 = t136;
		this.t141 = t141;
		this.t142 = t142;
		this.t143 = t143;
		this.t144 = t144;
		this.t145 = t145;
		this.t15 = t15;
		this.t16 = t16;
		this.t171 = t171;
		this.t172 = t172;
		this.t173 = t173;
		this.t18 = t18;
		this.t19 = t19;
		this.t20 = t20;
		this.t21 = t21;
		this.t22 = t22;
		this.t23 = t23;
		this.t24 = t24;
		this.t25 = t25;
		this.recodertime = recodertime;
		this.loginname = loginname;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getT1() {
		return this.t1;
	}

	public void setT1(String t1) {
		this.t1 = t1;
	}

	public String getT2() {
		return this.t2;
	}

	public void setT2(String t2) {
		this.t2 = t2;
	}

	public String getT3() {
		return this.t3;
	}

	public void setT3(String t3) {
		this.t3 = t3;
	}

	public String getT4() {
		return this.t4;
	}

	public void setT4(String t4) {
		this.t4 = t4;
	}

	public String getT501() {
		return this.t501;
	}

	public void setT501(String t501) {
		this.t501 = t501;
	}

	public String getT502() {
		return this.t502;
	}

	public void setT502(String t502) {
		this.t502 = t502;
	}

	public String getT51() {
		return this.t51;
	}

	public void setT51(String t51) {
		this.t51 = t51;
	}

	public String getT52() {
		return this.t52;
	}

	public void setT52(String t52) {
		this.t52 = t52;
	}

	public String getT6() {
		return this.t6;
	}

	public void setT6(String t6) {
		this.t6 = t6;
	}

	public String getT7() {
		return this.t7;
	}

	public void setT7(String t7) {
		this.t7 = t7;
	}

	public String getT71() {
		return this.t71;
	}

	public void setT71(String t71) {
		this.t71 = t71;
	}

	public String getT72() {
		return this.t72;
	}

	public void setT72(String t72) {
		this.t72 = t72;
	}

	public String getT73() {
		return this.t73;
	}

	public void setT73(String t73) {
		this.t73 = t73;
	}

	public String getT74() {
		return this.t74;
	}

	public void setT74(String t74) {
		this.t74 = t74;
	}

	public String getT8() {
		return this.t8;
	}

	public void setT8(String t8) {
		this.t8 = t8;
	}

	public String getT9() {
		return this.t9;
	}

	public void setT9(String t9) {
		this.t9 = t9;
	}

	public String getT10() {
		return this.t10;
	}

	public void setT10(String t10) {
		this.t10 = t10;
	}

	public String getT11() {
		return this.t11;
	}

	public void setT11(String t11) {
		this.t11 = t11;
	}

	public String getT12() {
		return this.t12;
	}

	public void setT12(String t12) {
		this.t12 = t12;
	}

	public String getT131() {
		return this.t131;
	}

	public void setT131(String t131) {
		this.t131 = t131;
	}

	public String getT132() {
		return this.t132;
	}

	public void setT132(String t132) {
		this.t132 = t132;
	}

	public String getT133() {
		return this.t133;
	}

	public void setT133(String t133) {
		this.t133 = t133;
	}

	public String getT134() {
		return this.t134;
	}

	public void setT134(String t134) {
		this.t134 = t134;
	}

	public String getT135() {
		return this.t135;
	}

	public void setT135(String t135) {
		this.t135 = t135;
	}

	public String getT136() {
		return this.t136;
	}

	public void setT136(String t136) {
		this.t136 = t136;
	}

	public String getT141() {
		return this.t141;
	}

	public void setT141(String t141) {
		this.t141 = t141;
	}

	public String getT142() {
		return this.t142;
	}

	public void setT142(String t142) {
		this.t142 = t142;
	}

	public String getT143() {
		return this.t143;
	}

	public void setT143(String t143) {
		this.t143 = t143;
	}

	public String getT144() {
		return this.t144;
	}

	public void setT144(String t144) {
		this.t144 = t144;
	}

	public String getT145() {
		return this.t145;
	}

	public void setT145(String t145) {
		this.t145 = t145;
	}

	public String getT15() {
		return this.t15;
	}

	public void setT15(String t15) {
		this.t15 = t15;
	}

	public String getT16() {
		return this.t16;
	}

	public void setT16(String t16) {
		this.t16 = t16;
	}

	public String getT171() {
		return this.t171;
	}

	public void setT171(String t171) {
		this.t171 = t171;
	}

	public String getT172() {
		return this.t172;
	}

	public void setT172(String t172) {
		this.t172 = t172;
	}

	public String getT173() {
		return this.t173;
	}

	public void setT173(String t173) {
		this.t173 = t173;
	}

	public String getT18() {
		return this.t18;
	}

	public void setT18(String t18) {
		this.t18 = t18;
	}

	public String getT19() {
		return this.t19;
	}

	public void setT19(String t19) {
		this.t19 = t19;
	}

	public String getT20() {
		return this.t20;
	}

	public void setT20(String t20) {
		this.t20 = t20;
	}

	public String getT21() {
		return this.t21;
	}

	public void setT21(String t21) {
		this.t21 = t21;
	}

	public String getT22() {
		return this.t22;
	}

	public void setT22(String t22) {
		this.t22 = t22;
	}

	public String getT23() {
		return this.t23;
	}

	public void setT23(String t23) {
		this.t23 = t23;
	}

	public String getT24() {
		return this.t24;
	}

	public void setT24(String t24) {
		this.t24 = t24;
	}

	public String getT25() {
		return this.t25;
	}

	public void setT25(String t25) {
		this.t25 = t25;
	}

	public Timestamp getRecodertime() {
		return this.recodertime;
	}

	public void setRecodertime(Timestamp recodertime) {
		this.recodertime = recodertime;
	}

	public String getLoginname() {
		return this.loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof PeisPatientVoteId))
			return false;
		PeisPatientVoteId castOther = (PeisPatientVoteId) other;

		return ((this.getId() == castOther.getId()) || (this.getId() != null
				&& castOther.getId() != null && this.getId().equals(
				castOther.getId())))
				&& ((this.getT1() == castOther.getT1()) || (this.getT1() != null
						&& castOther.getT1() != null && this.getT1().equals(
						castOther.getT1())))
				&& ((this.getT2() == castOther.getT2()) || (this.getT2() != null
						&& castOther.getT2() != null && this.getT2().equals(
						castOther.getT2())))
				&& ((this.getT3() == castOther.getT3()) || (this.getT3() != null
						&& castOther.getT3() != null && this.getT3().equals(
						castOther.getT3())))
				&& ((this.getT4() == castOther.getT4()) || (this.getT4() != null
						&& castOther.getT4() != null && this.getT4().equals(
						castOther.getT4())))
				&& ((this.getT501() == castOther.getT501()) || (this.getT501() != null
						&& castOther.getT501() != null && this.getT501()
						.equals(castOther.getT501())))
				&& ((this.getT502() == castOther.getT502()) || (this.getT502() != null
						&& castOther.getT502() != null && this.getT502()
						.equals(castOther.getT502())))
				&& ((this.getT51() == castOther.getT51()) || (this.getT51() != null
						&& castOther.getT51() != null && this.getT51().equals(
						castOther.getT51())))
				&& ((this.getT52() == castOther.getT52()) || (this.getT52() != null
						&& castOther.getT52() != null && this.getT52().equals(
						castOther.getT52())))
				&& ((this.getT6() == castOther.getT6()) || (this.getT6() != null
						&& castOther.getT6() != null && this.getT6().equals(
						castOther.getT6())))
				&& ((this.getT7() == castOther.getT7()) || (this.getT7() != null
						&& castOther.getT7() != null && this.getT7().equals(
						castOther.getT7())))
				&& ((this.getT71() == castOther.getT71()) || (this.getT71() != null
						&& castOther.getT71() != null && this.getT71().equals(
						castOther.getT71())))
				&& ((this.getT72() == castOther.getT72()) || (this.getT72() != null
						&& castOther.getT72() != null && this.getT72().equals(
						castOther.getT72())))
				&& ((this.getT73() == castOther.getT73()) || (this.getT73() != null
						&& castOther.getT73() != null && this.getT73().equals(
						castOther.getT73())))
				&& ((this.getT74() == castOther.getT74()) || (this.getT74() != null
						&& castOther.getT74() != null && this.getT74().equals(
						castOther.getT74())))
				&& ((this.getT8() == castOther.getT8()) || (this.getT8() != null
						&& castOther.getT8() != null && this.getT8().equals(
						castOther.getT8())))
				&& ((this.getT9() == castOther.getT9()) || (this.getT9() != null
						&& castOther.getT9() != null && this.getT9().equals(
						castOther.getT9())))
				&& ((this.getT10() == castOther.getT10()) || (this.getT10() != null
						&& castOther.getT10() != null && this.getT10().equals(
						castOther.getT10())))
				&& ((this.getT11() == castOther.getT11()) || (this.getT11() != null
						&& castOther.getT11() != null && this.getT11().equals(
						castOther.getT11())))
				&& ((this.getT12() == castOther.getT12()) || (this.getT12() != null
						&& castOther.getT12() != null && this.getT12().equals(
						castOther.getT12())))
				&& ((this.getT131() == castOther.getT131()) || (this.getT131() != null
						&& castOther.getT131() != null && this.getT131()
						.equals(castOther.getT131())))
				&& ((this.getT132() == castOther.getT132()) || (this.getT132() != null
						&& castOther.getT132() != null && this.getT132()
						.equals(castOther.getT132())))
				&& ((this.getT133() == castOther.getT133()) || (this.getT133() != null
						&& castOther.getT133() != null && this.getT133()
						.equals(castOther.getT133())))
				&& ((this.getT134() == castOther.getT134()) || (this.getT134() != null
						&& castOther.getT134() != null && this.getT134()
						.equals(castOther.getT134())))
				&& ((this.getT135() == castOther.getT135()) || (this.getT135() != null
						&& castOther.getT135() != null && this.getT135()
						.equals(castOther.getT135())))
				&& ((this.getT136() == castOther.getT136()) || (this.getT136() != null
						&& castOther.getT136() != null && this.getT136()
						.equals(castOther.getT136())))
				&& ((this.getT141() == castOther.getT141()) || (this.getT141() != null
						&& castOther.getT141() != null && this.getT141()
						.equals(castOther.getT141())))
				&& ((this.getT142() == castOther.getT142()) || (this.getT142() != null
						&& castOther.getT142() != null && this.getT142()
						.equals(castOther.getT142())))
				&& ((this.getT143() == castOther.getT143()) || (this.getT143() != null
						&& castOther.getT143() != null && this.getT143()
						.equals(castOther.getT143())))
				&& ((this.getT144() == castOther.getT144()) || (this.getT144() != null
						&& castOther.getT144() != null && this.getT144()
						.equals(castOther.getT144())))
				&& ((this.getT145() == castOther.getT145()) || (this.getT145() != null
						&& castOther.getT145() != null && this.getT145()
						.equals(castOther.getT145())))
				&& ((this.getT15() == castOther.getT15()) || (this.getT15() != null
						&& castOther.getT15() != null && this.getT15().equals(
						castOther.getT15())))
				&& ((this.getT16() == castOther.getT16()) || (this.getT16() != null
						&& castOther.getT16() != null && this.getT16().equals(
						castOther.getT16())))
				&& ((this.getT171() == castOther.getT171()) || (this.getT171() != null
						&& castOther.getT171() != null && this.getT171()
						.equals(castOther.getT171())))
				&& ((this.getT172() == castOther.getT172()) || (this.getT172() != null
						&& castOther.getT172() != null && this.getT172()
						.equals(castOther.getT172())))
				&& ((this.getT173() == castOther.getT173()) || (this.getT173() != null
						&& castOther.getT173() != null && this.getT173()
						.equals(castOther.getT173())))
				&& ((this.getT18() == castOther.getT18()) || (this.getT18() != null
						&& castOther.getT18() != null && this.getT18().equals(
						castOther.getT18())))
				&& ((this.getT19() == castOther.getT19()) || (this.getT19() != null
						&& castOther.getT19() != null && this.getT19().equals(
						castOther.getT19())))
				&& ((this.getT20() == castOther.getT20()) || (this.getT20() != null
						&& castOther.getT20() != null && this.getT20().equals(
						castOther.getT20())))
				&& ((this.getT21() == castOther.getT21()) || (this.getT21() != null
						&& castOther.getT21() != null && this.getT21().equals(
						castOther.getT21())))
				&& ((this.getT22() == castOther.getT22()) || (this.getT22() != null
						&& castOther.getT22() != null && this.getT22().equals(
						castOther.getT22())))
				&& ((this.getT23() == castOther.getT23()) || (this.getT23() != null
						&& castOther.getT23() != null && this.getT23().equals(
						castOther.getT23())))
				&& ((this.getT24() == castOther.getT24()) || (this.getT24() != null
						&& castOther.getT24() != null && this.getT24().equals(
						castOther.getT24())))
				&& ((this.getT25() == castOther.getT25()) || (this.getT25() != null
						&& castOther.getT25() != null && this.getT25().equals(
						castOther.getT25())))
				&& ((this.getRecodertime() == castOther.getRecodertime()) || (this
						.getRecodertime() != null
						&& castOther.getRecodertime() != null && this
						.getRecodertime().equals(castOther.getRecodertime())))
				&& ((this.getLoginname() == castOther.getLoginname()) || (this
						.getLoginname() != null
						&& castOther.getLoginname() != null && this
						.getLoginname().equals(castOther.getLoginname())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result + (getId() == null ? 0 : this.getId().hashCode());
		result = 37 * result + (getT1() == null ? 0 : this.getT1().hashCode());
		result = 37 * result + (getT2() == null ? 0 : this.getT2().hashCode());
		result = 37 * result + (getT3() == null ? 0 : this.getT3().hashCode());
		result = 37 * result + (getT4() == null ? 0 : this.getT4().hashCode());
		result = 37 * result
				+ (getT501() == null ? 0 : this.getT501().hashCode());
		result = 37 * result
				+ (getT502() == null ? 0 : this.getT502().hashCode());
		result = 37 * result
				+ (getT51() == null ? 0 : this.getT51().hashCode());
		result = 37 * result
				+ (getT52() == null ? 0 : this.getT52().hashCode());
		result = 37 * result + (getT6() == null ? 0 : this.getT6().hashCode());
		result = 37 * result + (getT7() == null ? 0 : this.getT7().hashCode());
		result = 37 * result
				+ (getT71() == null ? 0 : this.getT71().hashCode());
		result = 37 * result
				+ (getT72() == null ? 0 : this.getT72().hashCode());
		result = 37 * result
				+ (getT73() == null ? 0 : this.getT73().hashCode());
		result = 37 * result
				+ (getT74() == null ? 0 : this.getT74().hashCode());
		result = 37 * result + (getT8() == null ? 0 : this.getT8().hashCode());
		result = 37 * result + (getT9() == null ? 0 : this.getT9().hashCode());
		result = 37 * result
				+ (getT10() == null ? 0 : this.getT10().hashCode());
		result = 37 * result
				+ (getT11() == null ? 0 : this.getT11().hashCode());
		result = 37 * result
				+ (getT12() == null ? 0 : this.getT12().hashCode());
		result = 37 * result
				+ (getT131() == null ? 0 : this.getT131().hashCode());
		result = 37 * result
				+ (getT132() == null ? 0 : this.getT132().hashCode());
		result = 37 * result
				+ (getT133() == null ? 0 : this.getT133().hashCode());
		result = 37 * result
				+ (getT134() == null ? 0 : this.getT134().hashCode());
		result = 37 * result
				+ (getT135() == null ? 0 : this.getT135().hashCode());
		result = 37 * result
				+ (getT136() == null ? 0 : this.getT136().hashCode());
		result = 37 * result
				+ (getT141() == null ? 0 : this.getT141().hashCode());
		result = 37 * result
				+ (getT142() == null ? 0 : this.getT142().hashCode());
		result = 37 * result
				+ (getT143() == null ? 0 : this.getT143().hashCode());
		result = 37 * result
				+ (getT144() == null ? 0 : this.getT144().hashCode());
		result = 37 * result
				+ (getT145() == null ? 0 : this.getT145().hashCode());
		result = 37 * result
				+ (getT15() == null ? 0 : this.getT15().hashCode());
		result = 37 * result
				+ (getT16() == null ? 0 : this.getT16().hashCode());
		result = 37 * result
				+ (getT171() == null ? 0 : this.getT171().hashCode());
		result = 37 * result
				+ (getT172() == null ? 0 : this.getT172().hashCode());
		result = 37 * result
				+ (getT173() == null ? 0 : this.getT173().hashCode());
		result = 37 * result
				+ (getT18() == null ? 0 : this.getT18().hashCode());
		result = 37 * result
				+ (getT19() == null ? 0 : this.getT19().hashCode());
		result = 37 * result
				+ (getT20() == null ? 0 : this.getT20().hashCode());
		result = 37 * result
				+ (getT21() == null ? 0 : this.getT21().hashCode());
		result = 37 * result
				+ (getT22() == null ? 0 : this.getT22().hashCode());
		result = 37 * result
				+ (getT23() == null ? 0 : this.getT23().hashCode());
		result = 37 * result
				+ (getT24() == null ? 0 : this.getT24().hashCode());
		result = 37 * result
				+ (getT25() == null ? 0 : this.getT25().hashCode());
		result = 37
				* result
				+ (getRecodertime() == null ? 0 : this.getRecodertime()
						.hashCode());
		result = 37 * result
				+ (getLoginname() == null ? 0 : this.getLoginname().hashCode());
		return result;
	}

}